/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.File;
import java.util.List;
import java.util.function.Consumer;

/**
 * <p>Project: jse2204 - Lam1
 * <p>Powered by webrx On 2022-09-28 09:06:16
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Lam1 {
    public static void main(String[] args) {
        WxUtil wu = a -> {
            int t = 0;
            for(int i=0;i<a.length;i++){
                t+=a[i];
            }
            return t;
        };

        System.out.println(wu.pf(1,6,2,1,99,22,35));

        List<String> list = List.of("aa","cc","ee");
        list.forEach(i->System.out.println(i));
        list.forEach(System.out::println);

        for(String s : list){
            System.out.println(s);
        }
    }
}
